<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>222222222222222222</div>
</body>

<!--页面会先加载div 再alert  当js时一些点击事件时  适合写在html 元素解析之后-->
<script>
    alert(3333333)
</script>
</html>